<template>
    <div class="container">
        组件B的内容
    </div>
</template>

<script>
    export default {
        name: "BView"
    }
</script>

<style scoped>
    .container {
        width: 500px;
        height: 300px;
        background: linear-gradient(to right bottom, yellow, green);
        font-size: 48px;
        text-align: center;
        line-height: 300px;
        color: #fff;
    }
</style>